package com.engine4cloud.tdf.supervision.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 脱管
 *
 * @author wenjie
 * @date 2024-05-30 12:01:53
 */
@Data
@Schema(description = "脱管-请求对象")
public class RcglDetachedUpdateDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 发现托管时间
     */
    @Schema(description = "发现托管时间", example = "2024-05-01")
    @NotNull(message = "发现托管时间不能为空")
    private LocalDate fxtgsj;

    /**
     * 组织查找情况
     */
    @Schema(description = "组织查找情况", example = "组织当地社区人员查找了多次")
    @NotBlank(message = "组织查找情况")
    private String zzczqk;

    /**
     * 查找结果
     */
    @Schema(description = "查找结果", example = "未找到")
    @NotBlank(message = "组织查找情况")
    private String czjg;

    /**
     * 提请收监建议日期
     */
    @Schema(description = "提请收监建议日期", example = "2025-05-01")
    private LocalDate tqsjjyrq;
}